package com.yoyo.yyadsdk.bean.dao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class LocalShortcutEntity {

    @Id(autoincrement = true)
    private Long _id;
    //拉活任务id
    @Unique
    private int shortcutId;
    //周期内展示次数
    private int clickCount;
    private long lastClickTime;
    private boolean isDel;
    @Generated(hash = 1757277929)
    public LocalShortcutEntity(Long _id, int shortcutId, int clickCount,
            long lastClickTime, boolean isDel) {
        this._id = _id;
        this.shortcutId = shortcutId;
        this.clickCount = clickCount;
        this.lastClickTime = lastClickTime;
        this.isDel = isDel;
    }
    @Generated(hash = 2005358985)
    public LocalShortcutEntity() {
    }
    public Long get_id() {
        return this._id;
    }
    public void set_id(Long _id) {
        this._id = _id;
    }
    public int getShortcutId() {
        return this.shortcutId;
    }
    public void setShortcutId(int shortcutId) {
        this.shortcutId = shortcutId;
    }
    public int getClickCount() {
        return this.clickCount;
    }
    public void setClickCount(int clickCount) {
        this.clickCount = clickCount;
    }
    public long getLastClickTime() {
        return this.lastClickTime;
    }
    public void setLastClickTime(long lastClickTime) {
        this.lastClickTime = lastClickTime;
    }
    public boolean getIsDel() {
        return this.isDel;
    }
    public void setIsDel(boolean isDel) {
        this.isDel = isDel;
    }
}
